package framework.account;
/**
 * This class keeps basic information about financial transactions
 * It is not intended to be extended use IEntry interface for such needs 
 * @author Abdulaziz Ergashev
 *
 */
public class Transaction implements IEntry{
	public Transaction(String type, float amount, String result){
		this.type = type;
		this.amount = amount;
		this.result = result;
	}
	/**
	 * @uml.property  name="amount"
	 */
	private float amount;
	/**
	 * @uml.property  name="type"
	 */
	private String type;
	/**
	 * @uml.property  name="result"
	 */
	private String result;
	/**
	 * @return
	 * @uml.property  name="amount"
	 */
	public float getAmount() {
		return amount;
	}
	/**
	 * @param amount
	 * @uml.property  name="amount"
	 */
	public void setAmount(float amount) {
		this.amount = amount;
	}
	/**
	 * @return
	 * @uml.property  name="type"
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type
	 * @uml.property  name="type"
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return
	 * @uml.property  name="result"
	 */
	public String getResult() {
		return result;
	}
	/**
	 * @param result
	 * @uml.property  name="result"
	 */
	public void setResult(String result) {
		this.result = result;
	}
}